Skip to content

docs(quickstart): continue with init when pnpm blocks build scripts - #950

Merged
cpojer merged 1 commit into
mainfrom
docs/pnpm-ignored-builds
Nov 28, 2026
Merged

cpojer merged 1 commit into
mainfrom
docs/pnpm-ignored-builds

Conversation

@hyfdev

@hyfdev hyfdev commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

On pnpm 11 and 12, the Quickstart's first pnpm command exits with an error in an empty directory:

$ pnpm add -D void
[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: esbuild@0.18.20, esbuild@0.25.12, esbuild@0.28.2, workerd@1.20261123.1

Void is installed despite the error, and pnpm void init writes the build permissions Void needs, so init and later installs pass.

The page only covered this in its last paragraph, as a manual pnpm approve-builds step.

That paragraph is now a sentence right under the install commands, and it says to run pnpm void init anyway.

pnpm 10 only warns, so nothing changes there.

I checked it on pnpm 10.34.9, 11.29.0 and 12.24.0 with Void 1.12.2.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://docs-pnpm-ignored-builds-void-cloud.voidzero-docs.workers.dev (commit eff313b)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://26215ea8-void-cloud.voidzero-docs.workers.dev eff313b 2026-11-28T07:46:41.203Z Visit the dashboard ↗

@hyfdev
hyfdev marked this pull request as ready for review November 28, 2026 07:49
Copilot AI balanced review requested due to automatic review settings November 28, 2026 07:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@cpojer cpojer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cpojer
cpojer merged commit 44919a4 into main Nov 28, 2026
14 checks passed
@cpojer
cpojer deleted the docs/pnpm-ignored-builds branch November 28, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants